Airwallex\Main A

Total Complexity 75
Dependencies 28
Dependents 6
Total lines 578
Lines of code 470
Logical lines of code 239
Comment lines 42
Methods 29
Properties 1

Methods 29

Method Rating Maintainability Complexity Lines of code
enqueueScripts()
A
44 9 39
handleStatusChangeForCard()
A
53 8 21
addPaymentGateways()
S
54 6 21
registerScripts()
S
42 1 70
registerEvents()
S
45 3 40
createPages()
S
47 3 39
registerCron()
S
57 4 18
updateMerchantCountry()
S
61 4 12
noticeApiKeyMissing()
S
55 3 22
modifyRequestsForLogging()
S
65 4 9
addDisplayPostStates()
S
62 4 10
getMerchantCountry()
S
64 3 11
registerOrderStatus()
S
50 1 35
excludePagesFromMenu()
S
62 3 10
woocommerceBlockSupport()
S
60 2 15
registerAjax()
S
55 1 18
getInstance()
S
71 2 6
excludePagesFromList()
S
66 2 8
enqueueAdminScripts()
S
61 1 15
disableGatewayOrderPay()
S
71 2 6
registerExpressCheckoutButtons()
S
61 1 14
getInstanceKey()
S
80 1 3
init()
S
69 1 8
renderCurrencySwitchingHtml()
S
80 1 3
updateMerchantCountryAfterSave()
S
82 1 3
addPluginSettingsLink()
S
71 1 5
handleStatusChange()
S
80 1 3
checkPendingTransactions()
S
81 1 3
isJsLoggingActive()
S
77 1 3